#ifndef Pen_H
#define Pen_H

#include "PV.h"

class Pen{
   private:
      PV * position;
      float   direction;

   public:
      Pen(  );
      Pen( PV* p , float dir );
      Pen( float posX , float posY , float dir );
      PV * getPos(  );
      float  getDir(  );
      void setPos( PV * pos );
      void setPos( PV  pos );
      void setPos( float x , float y );
      void setDir( float dir );

      PV* lineTo ( PV* p );
      PV* lineTo ( float x , float y );

      void moveTo ( PV* p );
      void moveTo ( float x , float y );

      void turnTo( float dir );
      void turn ( float ang );

      PV* forward( float dist );
      void forwardAux( float dist );
};


#endif

 